package com.itmuch.contentcenter.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author caiqian
 * @date 2021/5/8 9:56
 * name可以随便写,但不能省力
 */
@FeignClient(name = "baidu",url = "http://www.baidu.com")
public interface TestBaiduFeignClient {

  @GetMapping("")
  String index();

}
